﻿using Autofac.Integration.Web;
using Slam.FieldTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using Autofac;

namespace SlamCms.SharePoint.FieldTypes
{
	public class SlamCmsFieldControl : SlamFieldControl
	{
		protected override void OnInit(EventArgs e)
		{
			var application = (IContainerProviderAccessor)HttpContext.Current.ApplicationInstance;
			application.ContainerProvider.RequestLifetime.InjectProperties(this);
			base.OnInit(e);
		}
	}
}
